jQuery.(function() {
	var requestPath="login_ajax.htm";
	$("#submit_login").bind("click",function() {
		var passport=$("#passport").val();
		var password=$("#password").val();
		var remember=$("#remember").val();
		jQuery.ajax({
			type : 'GET',
			contentType : 'application/json',
			url : requestPath,
			dataType : 'json',
			data:{"passport":passport,"password":password,"remember":remember},
			success : function(data) {
				if(data.result.successFlag){
					parent.window.location.reload();
				}else{
					alert(data.result.msg);
				}
				parent.window.location.reload();
			}
		});
	});
});
